//
//  Account.h
//  SinaWebo
//
//  Created by 亦心 on 15/3/14.
//  Copyright (c) 2015年 亦心. All rights reserved.
//

#import <Foundation/Foundation.h>
@class User;

@interface Account : NSObject
#pragma mark 账号信息
@property (nonatomic, copy) NSString *access_token;
@property (nonatomic, assign) long long expires_in;
@property (nonatomic, assign) long long remind_in;
@property (nonatomic, assign) long long uid;
@property (copy, nonatomic) NSString *gsid;
@property (copy, nonatomic) NSString *malt;
@property (copy, nonatomic) NSString *oauth_token;
@property (copy, nonatomic) NSString *oauth_token_secret;
@property (strong, nonatomic) User *user;
/** 账号的过期时间 */
@property (nonatomic, strong) NSDate *expiresTime;


#pragma mark 用户信息
/** 位置 */
@property (copy, nonatomic) NSString *location;
/** 用户头像 */
@property (copy, nonatomic) NSString *profile_image_url;
@property (copy, nonatomic) NSString *profile_url;
@property (copy, nonatomic) NSString *avatar_hd;
/** 粉丝 */
@property (copy, nonatomic) NSString *followers_count;
/** 关注 */
@property (copy, nonatomic) NSString *friends_count;
/** 微博 */
@property (copy, nonatomic) NSString *statuses_count;
/** 简介 */
@property (copy, nonatomic) NSString *desc;
@property (copy, nonatomic) NSString *screen_name;
@property (copy, nonatomic) NSString *name;

+(instancetype)accountWithDict:(NSDictionary *)dict;

@end
